package com.lawfinal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 案件详情
 * </p>
 *
 * @author KBr
 * @since 2024-04-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Lawcase对象", description="案件详情")
public class Lawcase implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "案件ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("personA")
    private String persona;

    @TableField("cardA")
    private String carda;

    @TableField("personB")
    private String personb;

    @TableField("cardB")
    private String cardb;

    @ApiModelProperty(value = "案件内容")
    private String content;

    @ApiModelProperty(value = "案件状态：0-未受理，1-指派律师，2-结案")
    private Integer state;

    @ApiModelProperty(value = "分类：0-民事；1-刑事自诉")
    private Integer species;

    @ApiModelProperty(value = "时间 ")
    @TableField("DT")
    private String dt;

    private Integer flag;


}
